<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">

<h:head>
	<title>Authentification ChezJMI</title>
</h:head>
<h:body>
	<h:form>
		<br />
		Login : 
		<h:inputText id="login" value="#{beanConnexion.login}" required="true" requiredMessage=" Login obligatoire"></h:inputText>
		<h:message for="login"/>
		<br />
		Mots de passe : <h:inputSecret id="password" value="#{beanConnexion.password}" required="true" requiredMessage=" Mot de passe obligatoire"></h:inputSecret>
		<h:message for="password"/>
		<br />
		<h:commandButton value="Login" action="#{beanConnexion.connexion}"></h:commandButton>
	</h:form>
</h:body>
</html>